class HouseItem:
  def __init__(self,name,area):
    """
        :param name:家具名称
        :param area:占地面积
    """
    self.name = name
    self.area = area

  def __str__(self):
    return "[%s]占地面积[%.2f]"%(self.name, self.area)

#1.创建家具
bed=HouseItem("席梦思",4)
chest=HouseItem("衣柜",1.5)
table=HouseItem("餐桌",1.5)

class House:
  def __init__(self,house_type,area):
    """
    :param house_type:户型
    :param area:面积
    """
    self.free_area=area
    self.item_list=[]

  def add_item(self,item):
    print("添加%s",item.name)